/* 
 * File:   Application.h
 * Author: hanv
 *
 * Created on September 29, 2013, 4:26 PM
 */

#ifndef APPLICATION_H
#define	APPLICATION_H

class Application {

    enum RunType{
        HELP,
        ONCE_LANG,
        ONCE_CONF,
        MANY,
    };
    
public:
    Application();
    virtual ~Application();
    
    int run(int argc, char** argv);    
    
    static Application* instance();
    static void clean();
private:
    void showHelp();
    void runLoop();
private:
    static Application* m_Instance;
    
    
};

#endif	/* APPLICATION_H */

